﻿/*
(c) 2010 - Open Source Business Foundation e. V. (www.osbf.de)
This software is provided under Microsoft Reciprocal License (Ms-RL)
(http://www.microsoft.com/opensource/licenses.mspx#Ms-RL)
All other rights reserved
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;

namespace MicroFormatProcessing
{
    /// <summary>
    /// This class represents a User (not much, just the id and the password)
    /// </summary>


    public class User : Microsoft.WindowsAzure.StorageClient.TableServiceEntity
    {
        public User() : base()
        {
        }


        public User(string userId, string password) : base(userId, password)
        {
        }

        // aliases

        public string GetUserId()
        {
            return this.PartitionKey;
        }
        public string GetPassword()
        {
            return this.RowKey;
        }
    }
}
